package com.sweet.imserver.exception;

public class SwRuntimeException  extends RuntimeException {
  private String message;

  public SwRuntimeException(String message) {
    super(message);
    this.message = message;
  }

  @Override
  public String getMessage() {
    return message;
  }

  public void setMessage(String message) {
    this.message = message;
  }

  @Override
  public String toString() {
    return "SwRuntimeException{" +
      "message='" + message + '\'' +
      '}';
  }
}
